Objects Reference

console::command_tokens

Prototype

int command_tokens(char *str,char **token)

Parameters

Parameter Type Description
str char * string to be processed
token char ** string tokens

Return Value

Returns the number of tokens found in the string.

Remarks

This function converts a string into tokens (fragments the string at its spaces).